package cn.source.system.service;

import cn.source.system.domain.VipOrderModel;

/**
 * vip接口
 *
 * @author tubo
 * @date 2024-06-11
 */
public interface IVipOrderService {


    /**
     * 新增vip订单信息
     *
     * @param vipOrderModel
     * @return 结果
     */
    int insertVipOrder(VipOrderModel vipOrderModel);

    /**
     * 根据订单编号查询
     * @param orderNo
     * @return
     */
    VipOrderModel findOne(String orderNo);

    /**
     * 更新
     * @param vipOrderModel
     * @return
     */
    int update(VipOrderModel vipOrderModel);

    /**
     * 根据id查询
     * @param orderId
     * @return
     */
    VipOrderModel findOneByOrderId(Long orderId);
}
